package com.ruoyi.system.service.zhaungxiuservice.shopService.impl;

import com.ruoyi.system.domain.zhuangxiumain.shopMain.BrandInfo;
import com.ruoyi.system.mapper.zhuangxiumapper.shopMapper.BarandInfoMapper;
import com.ruoyi.system.service.zhaungxiuservice.shopService.BrandInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandInfoServiceImpl implements BrandInfoService {

    @Autowired(required = false)
    private BarandInfoMapper barandInfoMapper;



    @Override
    public BrandInfo selectBrandInfoById(Integer brandId)
    {
        return barandInfoMapper.selectBrandInfoById(brandId);
    }

    @Override
    public List<BrandInfo> selectBrandInfoList(BrandInfo brandInfo)
    {
        return barandInfoMapper.selectBrandInfoList(brandInfo);
    }

    @Override
    public int insertBrandInfo(BrandInfo brandInfo)
    {
        return barandInfoMapper.insertBrandInfo(brandInfo);
    }

    @Override
    public int updateBrandInfo(BrandInfo brandInfo)
    {
        return barandInfoMapper.updateBrandInfo(brandInfo);
    }

    @Override
    public int deleteBrandInfoByIds(Integer[] brandIds)
    {
        return barandInfoMapper.deleteBrandInfoByIds(brandIds);
    }

    @Override
    public int deleteBrandInfoById(Integer brandId)
    {
        return barandInfoMapper.deleteBrandInfoById(brandId);
    }

    @Override
    public int changeStatus(BrandInfo brandInfo) {
        return barandInfoMapper.changeStatus(brandInfo);
    }
}
